#include <stdio.h>
#include "func.h"
#include "sort.h"

#define N 50

int main(void)
{
    int a[N];

    init_array (a, N);

	printf("haven't been sorted !\n\n");
    print_array(a, N);

//    sort_picked(a, N);
//    sort_insert(a, N);
//    sort_swap	 (a, N);
//    sort_bubble(a, N);
//	  sort_merge (a, N);

	sort_quick (a, N);

	printf("have been sorted !\n\n");
    print_array(a, N);

//    find_halfbreak(a, N);

    return 0;
}

